package com.example.mybatisplusdemo.mapper;

import com.example.mybatisplusdemo.entity.TestUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenjl
 * @since 2022-06-24
 */
public interface TestUserMapper extends BaseMapper<TestUser> {

    /**
     * 根据名称得到用户对象
     * @param username
     * @return
     */
    TestUser selectOneByUsername(String username);
}
